package t327.pojo.font;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class MaterialsAddWareHouseFont {
    private String materialsName;
    private String supplier;
    private Long materialsStatus;
    private Long colorId;
    private Long warehouseId;
    private Long storeAreaId;
    private Long materialsKindId;
    private Long qualityId;
    private String batchNumber;
    private Long batchCount;
    private BigDecimal batchPrice;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date batchTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date inputTime;

}
